added boolean to check URL param compose exists