Removed duplicate error message