Fixed an internal error