bug fix FOPS