fixed leftover errors