small syntax corrects to remove IDE errors