got rid of javascript error.