fixed integer issue
Fixed group by issue and project assign