Fixed bug in detecting location for #64