fixing x/y offset. closes #3