fixing behaviour when there is only 1 location