fixed a firefox bug / fixed an hour selection bug