corrected scope naming when not a prototype