fixed download action when no paramenter is passed