fix empty service problem in erlang