fixed a bug with FBA that caused a crash