fix some phpspec errors