fixed some code styles