fixed major error