handle visibility param and default to public