Fixed error when changing from abstract