fixed timestamp action in footer by using timestamp var