clean up of factor specs