bug fixes on creation of run