fix for implicit references