Removed dupcliate error code