fixed bug in my override enhancement