Fixed problem with dirty bit.