remove apply that was causing error