[entropy.client.interfaces.methods] fix undefined reference
[entropy.misc] fix variable referenced before assignment