[fix] some checkstyl errors/warnings in common