Fix for perl api illusion