fixed runtime issue