bouands checking and singleton
fix angular bounds checking