Fixed internal error