fix bug in localSupp(); still needs more attention