fixed an issue where the at command used the incorrect suffix on edge cases