fix a bug that couldn't handle non-number value in some frame parameters.