removed a method that cuased a bug