fixing error on data sanitize on Controller