fixed error caused by prefix()