fix declaration methods via "has" && test