Fix arguments being in wrong function