fix issue with the runtime directory