this was causing a javascript error