fixed error that occurs when no arrows are submitted