Fixed wrong sensor period