fix query without project id