avoid being to much defensive on the client side