Fix: Figured out that onmarco === onleavemarco. Cleaned code.