Fixed error when creating a dirty build
Fixed indentation