upgraded active resource to cleanup bugged evil hack