Fix silly calculation