trying to fix bound problem