fix code.
http://stackoverflow.com/questions/3067891