Removed duplicate error directive