Added more safety checks. Made sure to set all the effects properties in bind time