fix allow methods; add support for index call