fixed runtime error from typo