fixing old error