fixed code styling issues