fixed downgrading

downgrading now gives resources, cannot downgrade below 0