fixed code styling for psr2 compatibility