Fixed on_details issue