dirtybit change

fixes #28 #23 #24 #31