find bugs and check style