removed redundant code of the projection