fix problem causing exception
add support for peak mem and scheduler job id