fix for last revision feature