Type error: Expected integer from 0 to 255, got Number
