fixed bug with offset in requirements