fixes placement bug