Bugfix: offset cant be lesser than 0