fixed wrong timestamp type checking
documentation updated