moved top event to the bottom