fixed placement bug