fix problems with functions returning None
add STORE_ATTR op