avoid exception for null result and now all green