change error message when partial view are rendered