minifixes in php client