Fixed virtual method map bug