displaying errors if any