fixed some code styles problem