styles fix. log some info on errors