Fixed wrong location of offset constant