support dot syntax
fix for ref syntax