fixing random projects showing all projects not just published ones