some issue found by oclint