fixing bugs import inputs and outputs from functions into actions