fix erlang cookie resource deps