runtime error caused by the previous commit solved