fix for new prototype