fixed roi outta bounds