fixing issue with ajax 404