layer selector working again