Don't sleep negative times :-)
Fix dict to work with new leo interface