Fixing bind errors