removing reduntant check