fix bad method