Fix type last_access