fix methods to arrays