fix model
create gray filter function
fix image filter function but fail