Fixed all error but still have runtime error