prevent sending request to controller