Fixed usage of non-existent function