fix psr-2 compatibility