fix inconsistent code styling