fix problem with clean rebuild